
#ifndef __OPENSSL_H__
#define __OPENSSL_H__

#define MAX_STRING	1024

int Server(unsigned char * in, unsigned char *out);

int Client(unsigned char *in, unsigned char *out);

int Base64_Encode(unsigned char *in, unsigned char *out, int ilen);

int Base64_Decode(unsigned char *in, unsigned char *out);

int Encrypt(unsigned char *key, unsigned char *in , unsigned char *out);

int Decrypt(unsigned char *key, unsigned char *in , unsigned char *out, int iout);

#endif
